<div class="carts-all" @myInsertRemoveTrigger *ngIf="change" [hidden]="!hide" draggable="true">
  <div class="leave-top">
    <div><i></i><label>购物车</label></div>
    <span class="spanOne" (click)="close()"><i class="iconfont icon-guanbi"></i></span>
    <!-- <span class="spanThree" (click)="toSmall($event)"><i class="iconfont icon-suoxiao"></i></span> -->
  </div>

  <div class="carts-content">
    <h5> <b>所有种类</b> </h5>
    <div class="carts-cart" *ngFor="let cart of goods">
      <span class="numSpan">{{cart.count}}</span>
      <div class="carts-img"><img src="{{cart.good[0].src}}" alt=""></div>
      <div class="carts-words">{{cart.good[0].name}}</div>
    </div>
  </div>
</div>
